package com.boot.springboot.dao;

import com.boot.springboot.entity.Emp;
import com.boot.springboot.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    //保存用户
    void save(User user);

    //登陆
    User login(@Param("username") String username, @Param("password") String password);


}
